01. Fetch and Show First Planet

Fetch and Show First Planet

Fetch and Show First Planet Quiz

Instructions

First, if you haven't already, read this and follow the instructions on working with the Exoplanet Explorer repo.

  1. Checkout the first-thumb-start branch and navigate to app/scripts/app.js.
  2. Get the planet data and add the search header.
  3. Create the first thumbnail with createPlanetThumb(data).
  4. Handle errors!
    • Pass 'unknown' to the search header.
    • Log the error.

Checkout the first-thumb-solution branch to see my code!

Solution

2.1 Fetch and Show First Planet Solution